import React from 'react';
import { Provider } from 'mobx-react';
import stores from './store';
import RouterMap from './components/RouterMap';
import routes  from './router/main';

const App = () => {
	return (
		<Provider {...stores}>
			<RouterMap routes={routes} />
		</Provider>
	);
};

export default App;